from django.conf.urls import *
from sle.views import *
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = patterns('',
 
)
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

if settings.DEBUG is False:
    urlpatterns += url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {
            'document_root': settings.STATIC_ROOT,
        }),

urlpatterns += patterns ('',
 (r'^sle/', include('sle.urls')),
 
)